<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Flex基础</title>
    <style>
            div {
                display: flex;
                width: 800px;
                height: 300px;
                background-color: pink;
                flex-direction: row;
                justify-content: space-between;
            }
            div span {
                height: 50px;
                width: 120px;
                background-color: purple;
            }
    </style>
</head>
<body>
<div>
    <span>1</span>
    <span>2</span>
    <span>3</span>
</div>
</body>
</html>